package cn.wolfcode.mapper;

import cn.wolfcode.domain.Department;
import cn.wolfcode.query.EmployeeQueryObject;
import cn.wolfcode.query.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void delete(Long id);

    void insert(Department department);

    Department get(Long id);

    List<Department> selectAll();

    void update(Department department);

    List<Department> selectForList(QueryObject qo);
}